<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class TestSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $str = '测试数据';
        $arr = [];
        for($i=0;$i<10000;$i++){
            $arr[] = [
                'content'=>$str.$i
            ];
        }
        DB::table('test')->insert($arr);
    }
}
